package com.wei.wiki.resp.info;

/*
 * @author : ShunWei
 * @date : 2022/1/28 10:31
 * @Description:
 */
public enum  RespEnum {
    E_201(201,"对象创建成功"),
    E_202(202,"请求已经被接受"),
    E_400(400,"参数列表错误（缺少，格式不匹配）"),
    E_401(401,"未授权"),
    E_403(403,"访问受限，授权过期"),
    E_404(404,"资源，服务未找到"),
    E_500(500,"服务器错误"),
            ;
    private Integer Code;
    private String Msg;

    public Integer getCode() {
        return Code;
    }

    public String getMsg() {
        return Msg;
    }

    RespEnum(Integer code, String msg) {
        Code = code;
        Msg = msg;
    }
}
